package com.shanzhe.eshop.promotion.service;

import com.shanzhe.eshop.promotion.pojo.PromotionActivityDto;

import java.util.List;

/**
 * @Author yinwei
 * @create 2021/9/26
 * @Version 1.0
 * @desc 促销中心对外提供接口
 */
public interface PromotionFacadeService {

    /**
     * 根据商品id查询促销活动
     * @param goodsId 商品id
     * @return List<PromotionActivityDto> 促销活动
     */
    List<PromotionActivityDto> listPromotionActivityByGoodsId(Long goodsId);
}
